package com.itheima.基于反射操作成员方法;

public class Student {
    private  String name;
    public int age;

    public Student() {
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    private void setName1(String name) {
        System.out.println("受过的伤 是否还能治愈");

    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
